package com.botarena.shared;

import java.io.Serializable;
import java.util.Date;

public class ContestInfo implements Serializable {
	
	private static final long serialVersionUID = 3118501028937236270L;
	
	private String key;
	private String name;
	private Date from;
	private Date to;
	
	public ContestInfo() {
		// Serialize
	}
	
	public ContestInfo(String key, String name, Date from, Date to) {
		this.key = key;
		this.name = name;
		this.from = from;
		this.to = to;
	}
	
	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}


	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setFrom(Date from) {
		this.from = from;
	}

	public Date getFrom() {
		return from;
	}

	public void setTo(Date to) {
		this.to = to;
	}

	public Date getTo() {
		return to;
	}
}
